﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Net;

namespace ChromiumUpdater
{
    class WebClientHelper
    {
        public static WebProxy ProxyString(string url, string port)
        {
            WebProxy proxy = new WebProxy();
            proxy.Address = new Uri("http://" + url + ":" + port);
            proxy.Credentials = CredentialCache.DefaultCredentials;
            return proxy;          
        }
    }

}
